/*****************得到用户的登录状态**********************/
const loginUser = document.querySelector(".user-name").innerText;
const loginImg = document.querySelector(".user-img").getElementsByTagName("img")[0].src;
const loginUserId = parseInt(document.querySelector(".user-name").id);
const loginUserIsShare =  parseInt(document.querySelector(".user-getInfo").getAttribute('role'))